const Router = require("koa-router");
const router = new Router();
const Mock = require("mockjs");
// @province //重庆
// @county(true) // 重庆市 渝北区
// @id // 18位数字
// @guid // uuid
// @cname
// @cparagraph //中文段落
// @datetime @time @date
// @ctitle


router.post("/api/test", async ctx => {
  const data = Mock.mock({
    "userlList|5": [
      {
        currentYear: 2023,
        "currentMonth|+1": 1,
        "dataNum|+9": 10,
        "pkid|+3": 1231233123,
      },
    ],
  });
  ctx.body = { code: 0, message: "success", data: data.userlList };
});



module.exports = router;
